{"ast":null,"code":"var _jsxFileName = \"/data/messenger.client/src/components/Message/Status/index.tsx\";\nimport React from 'react';\nimport classNames from \"classnames\";\nimport { checkRead, isMe } from \"../../../utils/Message\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nimport { Fragment as _Fragment } from \"react/jsx-dev-runtime\";\nconst Status = _ref => {\n  let {\n    replyStatus = false,\n    message,\n    store,\n    dialog = false\n  } = _ref;\n  return !replyStatus && /*#__PURE__*/_jsxDEV(\"div\", {\n    className: classNames({\n      'message__icon-read': !dialog && isMe(message.user, store),\n      'message__icon--doubleTicks': !dialog && isMe(message.user, store) && message.read && checkRead(message.read),\n      'message__icon--ticks': !dialog && isMe(message.user, store) && message.read && !checkRead(message.read),\n      'dialog__messageIcon-read': dialog,\n      'dialog__messageIcon--doubleTicks': dialog && isMe(message.user, store) && message.read && checkRead(message.read),\n      'dialog__messageIcon--ticks': dialog && isMe(message.user, store) && message.read && !checkRead(message.read)\n    })\n  }, void 0, false, {\n    fileName: _jsxFileName,\n    lineNumber: 10,\n    columnNumber: 13\n  }, this) || /*#__PURE__*/_jsxDEV(_Fragment, {}, void 0, false);\n};\n_c = Status;\nexport default Status;\nvar _c;\n$RefreshReg$(_c, \"Status\");","map":{"version":3,"names":["React","classNames","checkRead","isMe","Status","replyStatus","message","store","dialog","user","read"],"sources":["/data/messenger.client/src/components/Message/Status/index.tsx"],"sourcesContent":["import React from 'react';\nimport classNames from \"classnames\";\nimport {checkRead, isMe} from \"../../../utils/Message\";\nimport {StatusProps} from \"../../../models/props/StatusProps\";\n\nconst Status: React.FC<StatusProps> = ({replyStatus = false, message, store, dialog = false}) => {\n\n    return (\n        (!replyStatus &&\n            <div className={classNames({\n                    'message__icon-read': !dialog && isMe(message.user, store),\n                    'message__icon--doubleTicks': !dialog && isMe(message.user, store) && message.read && checkRead(message.read),\n                    'message__icon--ticks': !dialog && isMe(message.user, store) && message.read && !checkRead(message.read),\n                    'dialog__messageIcon-read': dialog,\n                    'dialog__messageIcon--doubleTicks': dialog && isMe(message.user, store) && message.read && checkRead(message.read),\n                    'dialog__messageIcon--ticks':dialog && isMe(message.user, store) && message.read && !checkRead(message.read)\n                }\n            )}/>\n        ) || (<></>)\n    );\n}\n\nexport default Status;"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,UAAU,MAAM,YAAY;AACnC,SAAQC,SAAS,EAAEC,IAAI,QAAO,wBAAwB;AAAC;AAAA;AAGvD,MAAMC,MAA6B,GAAG,QAA2D;EAAA,IAA1D;IAACC,WAAW,GAAG,KAAK;IAAEC,OAAO;IAAEC,KAAK;IAAEC,MAAM,GAAG;EAAK,CAAC;EAExF,OACK,CAACH,WAAW,iBACT;IAAK,SAAS,EAAEJ,UAAU,CAAC;MACnB,oBAAoB,EAAE,CAACO,MAAM,IAAIL,IAAI,CAACG,OAAO,CAACG,IAAI,EAAEF,KAAK,CAAC;MAC1D,4BAA4B,EAAE,CAACC,MAAM,IAAIL,IAAI,CAACG,OAAO,CAACG,IAAI,EAAEF,KAAK,CAAC,IAAID,OAAO,CAACI,IAAI,IAAIR,SAAS,CAACI,OAAO,CAACI,IAAI,CAAC;MAC7G,sBAAsB,EAAE,CAACF,MAAM,IAAIL,IAAI,CAACG,OAAO,CAACG,IAAI,EAAEF,KAAK,CAAC,IAAID,OAAO,CAACI,IAAI,IAAI,CAACR,SAAS,CAACI,OAAO,CAACI,IAAI,CAAC;MACxG,0BAA0B,EAAEF,MAAM;MAClC,kCAAkC,EAAEA,MAAM,IAAIL,IAAI,CAACG,OAAO,CAACG,IAAI,EAAEF,KAAK,CAAC,IAAID,OAAO,CAACI,IAAI,IAAIR,SAAS,CAACI,OAAO,CAACI,IAAI,CAAC;MAClH,4BAA4B,EAACF,MAAM,IAAIL,IAAI,CAACG,OAAO,CAACG,IAAI,EAAEF,KAAK,CAAC,IAAID,OAAO,CAACI,IAAI,IAAI,CAACR,SAAS,CAACI,OAAO,CAACI,IAAI;IAC/G,CAAC;EACH;IAAA;IAAA;IAAA;EAAA,QAAE,iBACF,qCAAM;AAEpB,CAAC;AAAA,KAfKN,MAA6B;AAiBnC,eAAeA,MAAM;AAAC;AAAA"},"metadata":{},"sourceType":"module"}